/**
 * 进入事件队列的事件
 */ 
package xFGE.event
{
	import flash.events.Event;
	
	public class InQueueEvent extends Event
	{
		public static var IN_QUEUE_EVENT:String = "IN_QUEUE_EVENT";
		
		public var _eventObject:Object;
		public var _rip:int;//事件优先级
		
		public function InQueueEvent(type:String,rip:int = 1)
		{
			super(type);
			_rip = rip;
		}
		
		public function set rip(value:int):void
		{
			_rip = value;
		}
		public function get rip():int
		{
			return _rip;
		}
		public function get eventObject():Object
		{
			return _eventObject;
		}
		public function set eventObject(value:Object):void
		{
			_eventObject = value;
			_rip = _eventObject.rip;
		}
	}
}